﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="LoadNumListByAdd.aspx.cs" Inherits="Ewts.Storage.LoadNumListByAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<%--<link rel="stylesheet" href="/jquery/jquery.dataTables.css"type="text/css" />--%>
 
<script type="text/javascript" src="/jquery/jquery-1.8.3.min.js"></script>
 
<script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<h2>LoadNum列表</h2>
<br />
<div class="shadow">
    <asp:Repeater ID="rept" runat="server">
      <HeaderTemplate>

    <table id="tbCustomer" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
 
            <th>序号</th>
 
            <th>收货日期</th>
 
            <th>LoadNum单号</th>

            <th>客户</th>
 
            <th>业务员</th>
            
            <th>操作</th>
 
        </tr>
 
      </thead>
 
      <tbody>
 
  </HeaderTemplate>
 
  <ItemTemplate>
 
    <tr>
 
      <td><%# Container.ItemIndex + 1%></td>
 
      <td><%# Eval("collectdate")%></td>

       <td><%# Eval("loadnum")%></td>
 
      <td><%# GetName(Eval("customerid").ToString(),1) %></td>
 
      <td><%# GetAddress(Eval("addressid").ToString())%></td>

      <td> 
            <a href="MyCustomerAddList.aspx?LoadID=<%# Eval("id") %>&cumid=<%# Eval("customerid") %>">添加CJO单</a>   
 
    </tr>
 
  </ItemTemplate>
 
  <FooterTemplate>
 
    </tbody>
 
    </table>
 
  </FooterTemplate>


    </asp:Repeater>
</div>
    <script type="text/javascript">

        $(document).ready(function () {

            $('#tbCustomer').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 10,
                "bSort": true,
                "aaSorting": [[0, "asc"]]
            });

        });
 
</script>

</asp:Content>
